package com.tk.exam.domain;

import java.util.Date;

public class TkStudentScore {
    private Integer id;

    private Integer studentId;

    private Integer examInfoId;

    private Double offlineSocre;

    private Double onlineSocre;

    private Double totalSocre;

    private Date startTime;

    private Date endTime;

    private Date createTime;

    private Date upateTime;

    public TkStudentScore() {
    }

    public TkStudentScore(Integer studentId, Integer examInfoId) {
        this.studentId = studentId;
        this.examInfoId = examInfoId;
        this.createTime = new Date();
        this.upateTime = new Date();
    }

    public TkStudentScore(Integer studentId, Integer examInfoId,Double offlineSocre,Double onlineSocre,Double totalSocre, Date startTime) {
        this.studentId = studentId;
        this.examInfoId = examInfoId;
        this.startTime = startTime;
        this.offlineSocre = offlineSocre;
        this.onlineSocre = onlineSocre;
        this.totalSocre = totalSocre;
        this.createTime = new Date();
        this.upateTime = new Date();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public Integer getExamInfoId() {
        return examInfoId;
    }

    public void setExamInfoId(Integer examInfoId) {
        this.examInfoId = examInfoId;
    }

    public Double getOfflineSocre() {
        return offlineSocre;
    }

    public void setOfflineSocre(Double offlineSocre) {
        this.offlineSocre = offlineSocre;
    }

    public Double getOnlineSocre() {
        return onlineSocre;
    }

    public void setOnlineSocre(Double onlineSocre) {
        this.onlineSocre = onlineSocre;
    }

    public Double getTotalSocre() {
        return totalSocre;
    }

    public void setTotalSocre(Double totalSocre) {
        this.totalSocre = totalSocre;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpateTime() {
        return upateTime;
    }

    public void setUpateTime(Date upateTime) {
        this.upateTime = upateTime;
    }
}